filename = test.cpp

all: demo

demo: $(filename)
	g++ $(filename) -o demo -g

clean:
	rm -f demo